﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Phoenix.Common.Util" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>融资后台管理-宇商网</title>
    <link rel="stylesheet" type="text/css" href="/Content/global.css" />
    <link rel="stylesheet" type="text/css" href="/Content/admin.css" />
    <script type="text/javascript" src="/Scripts/jquery.js"></script>
     <script type="text/javascript" src="/Scripts/common.js"></script>
    
    <style type="text/css">
    html{overflow:hidden;}
    </style>
</head>
<body>
    <div class="header clearfix">
        <h1 class="logo"><img src="/content/logo.png" /></h1>
        <div class="topNav">
            <span>管理员：<strong class="org"></strong>&nbsp;&nbsp;</span>
            <a href="javascript:void(logout())">[&nbsp;退出&nbsp;]</a>
        </div>
    </div>
    <div class="toolBar clearfix">
        <div class="tipArea">V1.3.2</div>
        <ul class="secNav clearfix">
            <li><a href="/Organization/Index" target="topage">部门管理</a></li>
            <li><a href="/RightsType/Index" target="topage">权限管理</a></li>
        </ul>
    </div>
    <div id="maincontent" class="maincontent clearfix">
        <div id="mainNav" class="mainNav">
            <h3><a href="javascript:;">权限设置</a></h3>
            <ul class="hide">
                <li><a href="/Department/Index" target="topage">部门管理</a></li>
                <li><a href="/AdminUser/Index" target="topage">用户管理</a></li>
                 <li><a href="/News/Index" target="topage">职位角色</a></li>
                 <li><a href="/RightsType/Index" target="topage">权限管理</a></li>
            </ul>
            <h3><a href="javascript:;">新闻管理</a></h3>
            <ul class="hide">
                <li><a href="/News/Catalog" target="topage">类目管理</a></li>
                <li><a href="/News/Index" target="topage">新闻管理</a></li>

            </ul>
        </div>
        <div class="content">
            <iframe src="/Home/Welcome" id="topage" name="topage" frameborder="0" style="padding:0;margin:0;height:100%;border:0;" ></iframe>
        </div>
    </div>
    <div class="footer">
        &copy; 深圳市宇商网科技有限公司 2010-2012
        <span style="display:none">host:<% =Server.MachineName %></span>
    </div>


    <script type="text/javascript">
    	// 登出
    	function logout() {
    		if (confirm("确定要退出系统吗?")) {
    			location.href = "/Home/Logout";
    		}
    	}

    	//左侧菜单收缩
    	var $navTitle = $('#mainNav h3');
    	$navTitle.click(function () {
    		var t = $(this);
    		if ('' == t.attr('state') || undefined == t.attr('state')) {
    			t.children('a').addClass('open').end().next('ul').slideDown('fast');
    			t.attr('state', 'open');
    		} else if ('open' == t.attr('state')) {
    			t.children('a').removeClass('open').end().next('ul').slideUp('fast');
    			t.attr('state', '');
    		}
    	});
    	//左侧菜单高亮获焦
    	var $navLi = $('#mainNav li');
    	$navLi.click(function () {
    		$navLi.removeClass('cur');
    		$(this).addClass('cur');
    	});
    	//maincontent自动满屏
    	function setHeight() {
    		var $win = $(window);
    		var nWinHeight = $win.height();
    		$('#maincontent').height(nWinHeight - 80 - 46 - 30);
    		$('#mainNav').height(nWinHeight - 80 - 46 - 30 - 20);
    		$('#topage').height(nWinHeight - 80 - 46 - 30);
    		if (! -[1, ] && !window.XMLHttpRequest) {
    			$('#topage').width($win.width() - 200 - 5);
    		} else {
    			$('#topage').css('width', '100%');
    		}
    	}
    	setHeight();
    	$(window).resize(setHeight);

    	//弹出层全局对象
    	window.winObj = null; //一级window对象
    	window.oDG = null; //一级窗口
    	window.winObjChild = null; //二级window对象
    	window.oDGChild = null; //二级窗口
    </script>
</body>
</html>